Page({
    data: {

    },
    onLoad: function (options) {

    },
    // 返回首页
    toBack() {
        wx.switchTab({
          url: '/pages/Index/index/index',
        })
    },
    toWriteVoucher() {
        wx.navigateTo({
          url: '/pages/Index/writeVoucher/writeVoucher',
        })
    }
})